<div class="container">
		<table id="mytable">
			<thead>
					<tr>
					<th data-checkbox="true"></th>
					<th data-field="id">序号</th>
					<th data-field="name">课程名</th>
					<th data-field="classHour">课时数</th>
					</tr>
			</thead>
		</table>
</div>
<script type="text/javascript">
	$(function(){
		$('#mytable').datagrid({
 			path:'course' 
		});
	})
</script>